#ifndef FILEEXCHANGE_H
#define FILEEXCHANGE_H

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

#include <iostream>
#include <fstream>
#include <string>

#define HELLO_MSG 'h'
#define INFO_MSG  'i'
#define SIZE_MSG  's'
#define ACK_MSG   'a'

bool exchangeFile( std::string local_file, std::string remote_file, std::string server_addr );

#endif // FILEEXCHANGE_H
